
var {appname}  = {
  onLoad: function() {
    // initialization code
    this.initialized = true;
    this.gfiltersimportexportBundle = Components.classes["@mozilla.org/intl/stringbundle;1"].getService(Components.interfaces.nsIStringBundleService);
    this.mystrings = this.gfiltersimportexportBundle.createBundle("chrome://{appname}/locale/overlay.properties");
},
getString:function(key)
{
    try{
        var str = this.mystrings.GetStringFromName(key);
	return str;
    }catch(e)
   {
	return key;
   }
},
  onMenuItemCommand: function() {
      alert(this.getString("Continue_Confirm"));
      window.open("chrome://{appname}/content/options.xul", "", "chrome,titlebar,toolbar,centerscreen,modal");
  }
};

window.addEventListener("load", function(e) { {appname} .onLoad(e); }, false); 
